Fix npe at logging in translatePINGenerateSM_MAC method

Passing some parameters e.g. padding method or imk-ac are not
always equired. So handling null values should be possible

Signed-off-by: Robert Demski <drdemsey@gmail.com>