Clean up code that pokes the message store directly

This is necessary to make Go work with the changes in praekelt/vumi#586, shouldn't break with older vumi versions.