cpu: add a function for querying maximum required data alignment