[PATCH 3.16 240/366] ibmasm: don't write out of bounds in read handler