Improve error normalization for SWI-Prolog for specific cases where the caller predicate information is available