Fixes UB in the form or adding a 0 offset to a NULL pointer, and substracting a NULL pointer from another. Signed-off-by: James Almer <jamrial@gmail.com>