Reduce calls to expensive methods in create_xblock_info

STUD-1997