[PATCH 40/81] memory: Remove <common.h> and add needed includes