libsdhcdrivers: Improve read/write arg evaluation

Transfer command's argument is now evaluated with a help of ternary
operator so that it can be marked as const, and logic is more compact.
1 file changed