odp_buffer_pool: fails to return error state
odp_buffer_pool: fails to return error state

Calling functions can get error state check hdr for NULL
printf dos not make the program sane when an error condition is
encountered.

Signed-off-by: Anders Roxell <b4e8e89057bc64bc4f9625a4a821c9ac177a7ed2@linaro.org>

kalray/odp-mppa,rsalveti/odp,kalray/odp-mppa,ravineet-singh/odp,kalray/odp-mppa,mike-holmes-linaro/odp,ravineet-singh/odp,dkrot/odp,erachmi/odp,nmorey/odp,nmorey/odp,rsalveti/odp,mike-holmes-linaro/odp,kalray/odp-mppa,dkrot/odp,robbieking64/odp-crypto,erachmi/odp,nmorey/odp,kalray/odp-mppa,ravineet-singh/odp,nmorey/odp,robbieking64/odp-crypto,kalray/odp-mppa,dkrot/odp,robbieking64/odp-crypto,erachmi/odp,mike-holmes-linaro/odp,robbieking64/odp-crypto,dkrot/odp,rsalveti/odp,rsalveti/odp,mike-holmes-linaro/odp,ravineet-singh/odp,erachmi/odp,rsalveti/odp,kalray/odp-mppa