Cleanup upon OOM from bitmap decode.

If an OutOfMemoryError is encountered when decoding a received bitmap
then actions remain attached to it and will thus never be retried for a
new request. Catch the OutOfMemoryError and fail the request before
rethrowing the OOM.