modpost: refactor error handling and clarify error/fatal difference