ncmpcpp: depends_on 'readline' if build.head?

Fixes #25741.