md/raid5: convert to macros into inline functions.