fix inclusion of src-attribute

the old version provoked a compile error and didn't work generally

the gist was forked and updated along the way

this fixes https://github.com/bem/bem-core/issues/670