codec2 codecs: always specify range of buffers

Remove createLinear/GraphicBuffer without range as there is no
guarantee that the size of a fetched block is exactly the requested
size.

Bug: 187144478
Test: atest VtsHalMediaC2V1_0TargetAudioDecTest VtsHalMediaC2V1_0TargetAudioEncTest
Change-Id: I2405f0cb54a3ee48963b72c7a00521c4346c7d70
7 files changed