READ ELEMENT STATUS: Recoded op code READ ELEMENT STATUS

Corrected error where incorrect number (and length) reported
if a subset of elements were requested.
Sanitised function args to make code easier to understand
Removed hard-coded ordering dependencies on element address(es)

Signed-off-by: Mark Harvey <markh794@gmail.com>
READ ELEMENT STATUS: Log possible buffer overflow

As READ ELEMENT STATUS can return large amounts of data, there is
a possibility to overflow the pre-allocated buffer.

Pre-alloc buffer based on element count or SMC_BUF_SIZE (which ever is larger)

Signed-off-by: Mark Harvey <markh794@gmail.com>
READ ELEMENT STATUS: Correct masking of ASC/ASCQ

Signed-off-by: Mark Harvey <markh794@gmail.com>
READ ELEMENET STATUS: Set reserved fields to zero

Signed-off-by: Mark Harvey <markh794@gmail.com>