[Sanitizer] Move test for malloc/free hooks under test/sanitizer_common