Set definition_locator on in-memory xblocks

@cpennington please review