Quantum state nonclassicality in weak measurements in view of Bochner's criteria