Fix typespecs for a clean dialyzer run

Fix typespec of lager_file_backend:init() and lager_msg record