Add object ptr validity check for chunk_header.
Calculate data start for header instead of storing