Optimization for semantic-aware resource allocation under CPT-based utilities